import 'package:example/generated/json/base/json_convert_content.dart';
import 'package:example/bean/user_entity_entity.dart';

UserEntityEntity $UserEntityEntityFromJson(Map<String, dynamic> json) {
  final UserEntityEntity userEntityEntity = UserEntityEntity();
  final String? user = jsonConvert.convert<String>(json['user']);
  if (user != null) {
    userEntityEntity.user = user;
  }
  return userEntityEntity;
}

Map<String, dynamic> $UserEntityEntityToJson(UserEntityEntity entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['user'] = entity.user;
  return data;
}

extension UserEntityEntityExtension on UserEntityEntity {
  UserEntityEntity copyWith({
    String? user,
  }) {
    return UserEntityEntity()
      ..user = user ?? this.user;
  }
}